/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.q3and4.openclosepr.model.violate;

/**
 *
 * @author user
 */
public class Calc implements Calc1Interface {
    private  int num2;
    private  int num1;
 
    public Calc(){}
    public Calc(int num1,int num2) {
        this.num1 = num1;
        this.num2 = num2;
    }
    public int getNum1() {
        return num1;
    }

    public void setNum1(int num1) {
        this.num1 = num1;
    }

    public int getNum2() {
        return num2;
    }

    public void setNum2(int num2) {
        this.num2 = num2;
    }
    public int add(){
        return /*num1 + num2;*/ getNum1() + getNum2();
    }
    
}
